package tmt.usercenter.web.common;

/**
 * 常用常量，避免魔法变量
 * Created by Stark on 2017/3/2.
 */
public class Const {

	/** 管理后台基础路径 */
	public static final String ADMIN_PATH = "admin";

	public static final String SESSION_PRINCIPAL = "currentPrincipal";

	public static final String DEFAULT_PASSWORD = "123456";

	public static final String OAUTH_BIND_ERROR = "oauthBindError";

	/** 第三方账号绑定页面 */
	public static final String URL_BIND_OAUTH = "/user/info/oauth";


	/**
	 * 默认图片文件名称后缀
	 */
	public static final String DEFAULT_IMG_SUFFIX = ".jpg";

	/**
	 * 默认图片文件名称前缀
	 */
	public static final String DEFAULT_IMG_PREFIX = "~default_";

	/**
	 * 默认图片文件的访问URI。
	 */
	public static final String DEFAULT_IMG_URI = "/asset/img/";

	/**
	 * 默认图片文件的CLASSPATH。
	 */
	public static final String DEFAULT_IMG_CLASSPATH = "classpath:/static/asset/img/";
}
